package cn.com.miao.lynx.common.secure.service;

import cn.com.miao.lynx.common.secure.model.SecurityUser;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.social.security.SocialUserDetailsService;

/**
 * UserDetailServiceImpl
 *
 * @title: UserDetailServiceImpl
 * @description:
 * @author: dengmiao
 * @create: 2019-12-31 16:37
 **/
public interface CustomUserDetailService extends UserDetailsService, SocialUserDetailsService {

    SecurityUser loadUserByMobile(String mobile) throws UsernameNotFoundException;
}
